home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1988 / Feb 88 / Re-Command Key 2⁄22 < prev    next >
Encoding:
Text File  |  1991-03-06  |  973 b   |  26 lines  |  [TEXT/GEOL]

  1. Item    9816523                         17-Feb-88        13:00
  2.  
  3. From:   BIANCHI1                        Bianchi, Curt
  4.  
  5. To:     D1002                           PEMD Ed Group, Dev, E Rosenberg
  6.  
  7. cc:     MACAPP$                         MacApp Interest List
  8.  
  9. Sub:    Response to Command Key for…
  10.  
  11. Hi Ernie,
  12.  
  13. You can look at TApplication.ObeyMouseDown to see how MacApp responds to a
  14. click in the zoom box.  Basically, it erases the window's contents and calls
  15. the Toolbox routine ZoomWindow to zoom the window.  You could do the same thing
  16. whenever you wanted zooming behavior to occur.  However, you would have to know
  17. whether to zoom in or zoom out, as ZoomWindow expects a parameter telling it
  18. which way to go.  You could determine this by looking at the window data record
  19. and seeing if the window's size is userState (meaning you want to zoom out) or
  20. stdState (meaning you want to zoom in).  See Inside Mac Volume IV for more
  21. details.
  22.  
  23. Curt Bianchi
  24. Apple Computer
  25.  
  26.